package com.hsu.service;

import com.hsu.mapper.ProductMapper;
import com.hsu.model.ProductInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName: ProductService
 * @author Hsu琛君珩
 * @date 2024-07-31
 * @apiNote
 * @Version: v1.0
 */
@Service
public class ProductService {

    @Autowired
    private ProductMapper productMapper;

    public ProductInfo selectProductById(Integer id) {
        return productMapper.selectProductById(id);
    }
}
